#ifndef HASHDATAMODEL_H
#define HASHDATAMODEL_H

#include "DataModel.hpp"
#include <sstream>
#include <vector>

class HashDataModel: public DataModel {
public:
    HashDataModel();
    ~HashDataModel();

    std::string executeCommand(const std::string& command, std::istringstream& iss) override;
    std::vector<std::string> getAllKeys();
private:
    void initCommandMap() override;
private:    
    std::unordered_map<std::string, std::string> hashDataModel;
};

#endif // HASHDATAMODEL_H